import 'package:flutter/material.dart';
import 'package:kuwo_music/provider/module/common.dart';
import 'package:provider/provider.dart';

class ProviderModel extends StatelessWidget {
  final Widget child;
  const ProviderModel({Key key, this.child}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MultiProvider(
      child: child,
      providers: [
        ChangeNotifierProvider(create: (_) => CommonInfo()),
      ],
    );
  }
}
